﻿#region
/*******************************************************************************
** File Name:		    IOrganizationService.cs
** Creator:		        chao.jiang 
** EMail:               chao.jiang 
** Create date:	        
** Latest Modifier:
** Latest Modify date:
** Description:		    
** Modify History:
**
** Code Review:
**
** Version number:       1.0.0
*********************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Text;
using Phoenix.Entity;
using Phoenix.Service.Model;

namespace Phoenix.Service.Contracts
{
    public interface IOrganizationService
    {
        #region  Auto Generation

        void AddOrganization(OrganizationModel model);

        void UpdateByOrgID(OrganizationModel model);

        void DeleteByOrgID(System.Int32 orgID);

        OrganizationModel GetByOrgID(System.Int32 orgID);


        #endregion

        IList<OrganizationModel> GetPath();

        IList<OrganizationModel> GetNoDeleteByParentID(int parentID);

        IList<OrganizationModel> GetAllNoDelete();
    }
}